<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="css/common.css"/>
		<link rel="stylesheet" type="text/css" href="css/swiper.css"/>
		<link rel="stylesheet" type="text/css" href="css/back.css"/>
		<script type="text/javascript" src="js/swiper.js" ></script>
	</head>
	<body>
		<div class="web">
			<header>
				<div class="back fl">
					<input type="button" value="Back" />
				</div>
				<div class="back-select fr">
					<select name="">
						<option value="广州市">广州市</option>
						<option value="深圳市">深圳市</option>
						<option value="上海市">上海市</option>
					</select>
				</div>
				<div class="back-font">
					<p>分类</p>
				</div>
			</header>
			<section>
				<!---->
				<style type="text/css">
					.swiper-pagination-bullet{
						background: #ff9344;
						opacity: .2;
					}
					.swiper-pagination-bullet-active{
						background: #ff9344;
						opacity: 1;
					}
					.swiper-container-horizontal>.swiper-pagination-bullets{
						bottom: 0;
					}
				</style>
				<div class="back-banan swiper-container">
					<ul class="back-ul swiper-wrapper">
						<div class="swiper-slide">
							<li class="back-li">
							<img src="img/back/back-banan1.png"/>
							<p>美食</p>
							</li>
							<li class="back-li">
								<img src="img/back/back-banan2.png"/>
								<p>电影</p>
							</li>
							<li class="back-li">
								<img src="img/back/back-banan3.png"/>
								<p>运动</p>
							</li>
							<li class="back-li">
								<img src="img/back/back-banan4.png"/>
								<p>唱歌</p>
							</li>
						</div>
						<div class="swiper-slide">
							<li class="back-li">
							<img src="img/back/back-banan1.png"/>
							<p>美食</p>
							</li>
							<li class="back-li">
								<img src="img/back/back-banan2.png"/>
								<p>电影</p>
							</li>
							<li class="back-li">
								<img src="img/back/back-banan3.png"/>
								<p>运动</p>
							</li>
							<li class="back-li">
								<img src="img/back/back-banan4.png"/>
								<p>唱歌</p>
							</li>
						</div>
						<div class="swiper-slide">
							<li class="back-li">
							<img src="img/back/back-banan1.png"/>
							<p>美食</p>
							</li>
							<li class="back-li">
								<img src="img/back/back-banan2.png"/>
								<p>电影</p>
							</li>
							<li class="back-li">
								<img src="img/back/back-banan3.png"/>
								<p>运动</p>
							</li>
							<li class="back-li">
								<img src="img/back/back-banan4.png"/>
								<p>唱歌</p>
							</li>
						</div>
						<div class="swiper-slide">
							<li class="back-li">
							<img src="img/back/back-banan1.png"/>
							<p>美食</p>
							</li>
							<li class="back-li">
								<img src="img/back/back-banan2.png"/>
								<p>电影</p>
							</li>
							<li class="back-li">
								<img src="img/back/back-banan3.png"/>
								<p>运动</p>
							</li>
							<li class="back-li">
								<img src="img/back/back-banan4.png"/>
								<p>唱歌</p>
							</li>
						</div>
					</ul>
					<div class="swiper-pagination">
						
					</div>
				</div>
				<script>
			    	var swiper = new Swiper('.swiper-container',{
			    		autoplay:1000,
			    		loop:true,
			    		pagination:'.swiper-pagination',
			    	});
			    </script>
				<!--美食-->
				<div class="back-food clear">
					<div class="back-food1 fl">
						<span><img src="img/back/back-banan5.png"/></span>
						<b>美食类</b>
					</div>
					<div class="back-food2 fr">
						<span>更多<i class="iconfont icon-you"></i>
						</span>
					</div>
				</div>
				<div class="back-food-ul clear">
					<li>
						<img src="img/back/back-bananul1.png"/>
					</li>
					<li>
						<img src="img/back/back-bananul2.png"/>
					</li>
					<li>
						<img src="img/back/back-bananul3.png"/>
					</li>
					<li>
						<img src="img/back/back-bananul4.png"/>
					</li>
				</div>
				<!---->
				<!--运动-->
				<div class="back-food clear">
					<div class="back-food1 fl">
						<span><img src="img/back/back-bananul2-0.jpg"/></span>
						<b>运动类</b>
					</div>
					<div class="back-food2 fr">
						<span>更多<i class="iconfont icon-you"></i>
						</span>
					</div>
				</div>
				<div class="back-food-ul clear">
					<li>
						<img src="img/back/back-bananul2-1.jpg"/>
					</li>
					<li>
						<img src="img/back/back-bananul2-2.jpg"/>
					</li>
					<li>
						<img src="img/back/back-bananul2-3.jpg"/>
					</li>
					<li>
						<img src="img/back/back-bananul2-4.jpg"/>
					</li>
				</div>
				<!---->
				<!--电影-->
				<div class="back-food clear">
					<div class="back-food1 fl">
						<span><img src="img/back/back-bananul3-0.jpg"/></span>
						<b>美食类</b>
					</div>
					<div class="back-food2 fr">
						<span>更多<i class="iconfont icon-you"></i>
						</span>
					</div>
				</div>
				<div class="back-food-ul clear">
					<li>
						<img src="img/back/back-bananul3-1.jpg"/>
					</li>
					<li>
						<img src="img/back/back-bananul3-2.jpg"/>
					</li>
					<li>
						<img src="img/back/back-bananul3-1.jpg"/>
					</li>
					<li>
						<img src="img/back/back-bananul3-2.jpg"/>
					</li>
				</div>
			</section>
		<!--尾-->
			<footer>
				<ul>
					<li><a href="index.html">
							<i class="iconfont icon-noun28593cc"></i>
							<p>首页</p>
						</a></li>
					<li class="active"><a href="back.html">
							<i class="iconfont icon-fl"></i>
							<p>分类</p>
						</a></li>
					<li><a href="fash.html">
							<i class="iconfont icon-zhinanzhen"></i>
							<p>发现</p>
						</a></li>
					<li><a href="my.html">
							<i class="iconfont icon-ren"></i>
							<p>我的 </p>
						</a></li>
				</ul>
			</footer>
			
		</div>
		<script type="text/javascript">
			document.body.style.height=window.innerHeight+"px";
		</script>
		<script type="text/javascript">
		//动态改变根元素字体大小
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
												//字体大小 = 1个rem单位表示多少个像素，设备的宽度 / 设计宽度
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
		</script>
	</body>
</html>
